<!DOCTYPE html>
<script type="text/javascript" src="../js/YTYanKPrivate.js" ></script>
<script type="text/javascript" src="../js/jquery.min.js" ></script>
<link rel="stylesheet" href="../css/YTYanKPrivate.css" />
<script src="../js/table.min.0.0.1.js"></script>
<style>
	.tabel-head {
		background: gainsboro;
	}
	
</style>

<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<div id="divid"  class="app-cell">			
		</div>
	</body>
</html>
<style>
	.bs {
		background-color: bisque;
	}
	.dd {
		background-color: green;
	}
	.cd {
		color: gold;
	}
</style>

<script>
//	console.log("打印？？？");
    var data = {
		contentData: [
			[{
					value: "1姓名",
					colspan: "0",
					type: "0",
					template: '<input type="checkbox" class="chbAll" checked="checked">课程',
					clickEvent: function(e) { // e
						console.log("?--->", e);
					},
					tdClassName: "bs",
				},
				{
					value: "姓名1",
					colspan: "0",
					type: "0",
					Event: function(e) {

					}

				},
			],
			[{
				value: "3姓名",
				colspan: "0",
				type: "0",
				template: "<div>A单独 custom component!</div>",
				clickEvent: function(e) { // e
					console.log("????--->", e);
				},
				thCssText: "height: 100px !important; color: red;",
				thClassName: "bs",
			}, ],
		],
		headData: [{
				value: "1姓名",
				colspan: "0",
				type: "0",
				template: "<div>A单独 custom component!</div>",
				clickEvent: function(e) { // e
					console.log("????--->", e);
				},
				thCssText: "height: 100px !important; color: red;",
				thClassName: "bs",
			},
			{
				value: "2姓名",
				colspan: "0",
				type: "0",
				template: "<div>cB单独 custom component!</div>",
				thCssText: "height: 20px !important; color: blue;"
				//			Event: function(e) {}

			},
			{
				value: "3姓名",
				colspan: "0",
				type: "0",
				template: "<div>C单独 custom component!</div>"
				//			Event: function(e) {}
			},
		],
		title: "",
	};

	var t =  new Table({signId: ".app-cell", className: "dd cd", data: data});
	console.log("---》",t);
	console.log(t.name);
	console.log(t.tableData);
//	t.setDef(t,{name: "更改的名字"})
//	console.log(t.name);
	
</script>